Upon popMode, MessageTray will try readding all notifications
to their rightful parent, so we must tell NotificationBox to
relinquish them before st_bin_set_child() fails (leaving a dangling
child pointer and crashing at the next allocation)
https://bugzilla.gnome.org/show_bug.cgi?id=698812
deactivate: function(animate) {
this._hideLockScreen(animate, 0);
+ if (this._hasLockScreen)
+ this._clearLockScreen();
+
if (Main.sessionMode.currentMode == 'lock-screen')
Main.sessionMode.popMode('lock-screen');
if (Main.sessionMode.currentMode == 'unlock-dialog')
},
_completeDeactivate: function() {
- if (this._hasLockScreen)
- this._clearLockScreen();
-
if (this._dialog && !this._isGreeter) {
this._dialog.destroy();
this._dialog = null;